
<!DOCTYPE html>
<html  lang="zh">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <title>登录</title>
    <meta name="description" content="后台管理框架">
    <link rel="shortcut icon" href="{{url_for('main.static',filename='img/favicon.ico')}}" type="image/x-icon"/>
    <link href="{{url_for('admin.static',filename='css/bootstrap.min.css')}}" rel="stylesheet"/>
    <link href="{{url_for('admin.static',filename='css/font-awesome.min.css')}}" rel="stylesheet"/>
    <link href="{{url_for('admin.static',filename='css/style.css')}}" rel="stylesheet"/>
    <link href="{{url_for('admin.static',filename='css/login.min.css')}}" rel="stylesheet"/>
    <link href="{{url_for('admin.static',filename='ruoyi/css/ry-ui.css')}}?v=4.6.0" rel="stylesheet"/>
    <link href="{{url_for('admin.static',filename='ajax/libs/toastr/toastr.min.css')}}" rel="stylesheet"/>
    
    <!-- 360浏览器急速模式 -->
    <meta name="renderer" content="webkit">
    <!-- 避免IE使用兼容模式 -->
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link rel="shortcut icon" href="favicon.ico"/>
    <style type="text/css">
    label.error { position:inherit;  }
    body.signin {
        background:url({{admin_login_background()}}) no-repeat center center;
        background-size: 100% 100%;
    }
    </style>
    <script>
        if(window.top!==window.self){alert('未登录或登录超时。请重新登录');window.top.location=window.location};
    </script>
</head>
<body class="signin">
    <div class="signinpanel">
        <div class="row">
            <div class="col-sm-7">
                <div class="signin-info">
                    <div class="m-b"></div>
                    <h1>欢迎使用 <strong>{{config.H3BLOG_TITLE}}</strong></h1>
                    <h2>&nbsp;</h2>
                    <h2>&nbsp;</h2>
                </div>
            </div>
            <div class="col-sm-5">
                <form id="" method="post">
                    {{ loginForm.hidden_tag() }}
                    <h4 class="no-margins">登录：</h4>
                    {{ loginForm.username(id="username",class="form-control uname", placeholder="帐 号",required="", autofocus="") }}
                    {{ loginForm.password(id="password",class="form-control pword",placeholder="密 码",required="")}}
                    <div class="row m-t">
						<div class="col-xs-6">
                            {{ loginForm.captcha(id="captcha",class="form-control code",placeholder="验证码",required="",maxlength="5")}}
						</div>
						<div class="col-xs-6">
							<a href="javascript:void(0);" title="点击更换验证码">
								<img src="{{url_for('admin.captcha')}}?type=math" class="imgcode" width="85%" height="32px">
							</a>
						</div>
					</div>
                    <div class="row m-t"></div>
                    <div class="checkbox-custom">
                        {{ loginForm.remember_me(id='rememberme') }} {{ loginForm.remember_me.label(class="small",for="rememberme") }}
				    </div>
                    {{ loginForm.submit(class="btn btn-success btn-block") }}
                    <!-- <a href="{{url_for('admin.regist')}}" class="btn btn-success btn-block">注 册</a> -->
                </form>
            </div>
        </div>
        <div class="signup-footer">
            <div class="pull-left">
                Copyright © 2020-2022  All Rights Reserved. <br>
            </div>
        </div>
    </div>
<script> var ctx = "\/"; var captchaType = "math"; </script>
<!-- 全局js -->
<script src="{{url_for('admin.static',filename='js/jquery.min.js')}}"></script>
<script src="{{url_for('admin.static',filename='js/bootstrap.min.js')}}"></script>
<!-- 验证插件 -->
<script src="{{url_for('admin.static',filename='ajax/libs/validate/jquery.validate.min.js')}}"></script>
<script src="{{url_for('admin.static',filename='ajax/libs/validate/messages_zh.min.js')}}"></script>
<script src="{{url_for('admin.static',filename='ajax/libs/layer/layer.min.js')}}"></script>
<script src="{{url_for('admin.static',filename='ajax/libs/blockUI/jquery.blockUI.js')}}"></script>
<script src="{{url_for('admin.static',filename='ruoyi/js/ry-ui.js')}}?v=4.6.0"></script>
<script src="{{url_for('admin.static',filename='ruoyi/login.js')}}"></script>
<script src="{{url_for('admin.static',filename='ajax/libs/toastr/toastr.min.js')}}"></script>
{% include 'admin/common/alert.html' %}
</body>
</html>
